library(tidyverse)
## ââ Attaching core tidyverse packages ââââââââââââââââââââââââ tidyverse 2.0.0 ââ
## â dplyr 1.1.2 â readr 2.1.4
## â forcats 1.0.0 â stringr 1.5.0
## â ggplot2 3.4.2 â tibble 3.2.1
## â lubridate 1.9.2 â tidyr 1.3.0
## â purrr 1.0.1
## ââ Conflicts ââââââââââââââââââââââââââââââââââââââââââ tidyverse_conflicts() ââ
## â dplyr::filter() masks stats::filter()
## â dplyr::lag() masks stats::lag()
## âč Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(geobr)
## Loading required namespace: sf
library(sf)
## Linking to GEOS 3.11.2, GDAL 3.6.2, PROJ 9.2.0; sf_use_s2() is TRUE
library(terra)
## terra 1.7.29
##
## Attaching package: 'terra'
##
## The following object is masked from 'package:tidyr':
##
## extract
library(tidyterra)
##
## Attaching package: 'tidyterra'
##
## The following object is masked from 'package:stats':
##
## filter
library(ggnewscale)
library(patchwork)
##
## Attaching package: 'patchwork'
##
## The following object is masked from 'package:terra':
##
## area
library(cowplot)
##
## Attaching package: 'cowplot'
##
## The following object is masked from 'package:patchwork':
##
## align_plots
##
## The following object is masked from 'package:lubridate':
##
## stamp
saltinho <- sf::st_read("saltinho.shp")
## Reading layer `saltinho' from data source
## `G:\Meu Drive\UFPE\projeto mestrado\mestrado\saltinho.shp'
## using driver `ESRI Shapefile'
## Simple feature collection with 1 feature and 14 fields
## Geometry type: POLYGON
## Dimension: XY
## Bounding box: xmin: -35.19784 ymin: -8.739185 xmax: -35.16593 ymax: -8.712074
## Geodetic CRS: SIRGAS 2000
saltinho
## Simple feature collection with 1 feature and 14 fields
## Geometry type: POLYGON
## Dimension: XY
## Bounding box: xmin: -35.19784 ymin: -8.739185 xmax: -35.16593 ymax: -8.712074
## Geodetic CRS: SIRGAS 2000
## cd_cns_ nm_cns_ id_wcm categry group gvrnmn_
## 1 198 RESERVA BIOLĂGICA DE SALTINHO 6957 Reserva BiolĂłgica PI federal
## crtn_yr gid7
## 1 1983 300
## quality
## 1 Correto (O poligono corresponde ao memorial descritivo do ato legal de criação).
## legsltn dt_lt10 cod_111
## 1 Decreto nÂș 88744 de 21/09/1983 30/11/2007 0000.00.0198
## nm_rgnz date
## 1 Instituto Chico Mendes de Conservação da Biodiversidade 201909
## geometry
## 1 POLYGON ((-35.17557 -8.7146...
saltinho %>%
ggplot() +
geom_sf()
estados <- geobr::read_state(showProgress = FALSE)
## Using year 2010
estados
## Simple feature collection with 27 features and 5 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: -66.81025 ymin: -13.6937 xmax: -59.77435 ymax: -7.969294
## Geodetic CRS: SIRGAS 2000
## First 10 features:
## code_state abbrev_state name_state code_region name_region
## 1 11 RO RondĂŽnia 1 Norte
## 2 12 AC Acre 1 Norte
## 3 13 AM Amazonas 1 Norte
## 4 14 RR Roraima 1 Norte
## 5 15 PA ParĂĄ 1 Norte
## 6 16 AP AmapĂĄ 1 Norte
## 7 17 TO Tocantins 1 Norte
## 8 21 MA MaranhĂŁo 2 Nordeste
## 9 22 PI PiauĂ 2 Nordeste
## 10 23 CE CearĂĄ 2 Nordeste
## geom
## 1 MULTIPOLYGON (((-63.32721 -...
## 2 MULTIPOLYGON (((-73.18253 -...
## 3 MULTIPOLYGON (((-67.32609 2...
## 4 MULTIPOLYGON (((-60.20051 5...
## 5 MULTIPOLYGON (((-54.95431 2...
## 6 MULTIPOLYGON (((-51.1797 4....
## 7 MULTIPOLYGON (((-48.35878 -...
## 8 MULTIPOLYGON (((-45.84073 -...
## 9 MULTIPOLYGON (((-41.74605 -...
## 10 MULTIPOLYGON (((-41.16703 -...
estados %>%
ggplot() +
geom_sf()
continentes <- sf::st_read("World_Continents.shp")
## Reading layer `World_Continents' from data source
## `G:\Meu Drive\UFPE\projeto mestrado\mestrado\World_Continents.shp'
## using driver `ESRI Shapefile'
## Simple feature collection with 8 features and 6 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: -180 ymin: -89 xmax: 180 ymax: 83.6236
## Geodetic CRS: WGS 84
continentes
## Simple feature collection with 8 features and 6 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: -180 ymin: -89 xmax: 180 ymax: 83.6236
## Geodetic CRS: WGS 84
## FID CONTINENT SQMI SQKM Shape__Are Shape__Len
## 1 1 Africa 11583462.7 30001150.8 3.353511e+13 49144798
## 2 2 Asia 17317280.1 44851729.0 1.145290e+14 311176819
## 3 3 Australia 2973612.2 7701651.1 9.652152e+12 29969539
## 4 4 North America 9339528.5 24189364.5 1.113144e+14 595152476
## 5 5 Oceania 165678.7 429107.6 6.581670e+11 26177519
## 6 6 South America 6856255.3 17757690.9 2.068439e+13 77372912
## 7 7 Antarctica 4754809.5 12314949.2 6.966421e+14 253068489
## 8 8 Europe 3821854.3 9898596.9 3.508924e+13 236911733
## geometry
## 1 MULTIPOLYGON (((35.48832 -2...
## 2 MULTIPOLYGON (((-180 68.980...
## 3 MULTIPOLYGON (((158.8822 -5...
## 4 MULTIPOLYGON (((-81.67847 7...
## 5 MULTIPOLYGON (((180 -16.965...
## 6 MULTIPOLYGON (((-67.20889 -...
## 7 MULTIPOLYGON (((-180 -84.30...
## 8 MULTIPOLYGON (((23.84853 35...
continentes %>%
ggplot() +
geom_sf()
trilhas <- sf::st_read("Trilhas.shp")
## Reading layer `Trilhas' from data source
## `G:\Meu Drive\UFPE\projeto mestrado\mestrado\Trilhas.shp' using driver `ESRI Shapefile'
## Simple feature collection with 4 features and 11 fields
## Geometry type: LINESTRING
## Dimension: XYZ
## Bounding box: xmin: -35.19158 ymin: -8.737647 xmax: -35.16856 ymax: -8.715277
## z_range: zmin: 0 zmax: 0
## Geodetic CRS: WGS 84
trilhas
## Simple feature collection with 4 features and 11 fields
## Geometry type: LINESTRING
## Dimension: XYZ
## Bounding box: xmin: -35.19158 ymin: -8.737647 xmax: -35.16856 ymax: -8.715277
## z_range: zmin: 0 zmax: 0
## Geodetic CRS: WGS 84
## Name descriptio timestamp begin end altitudeMo tessellate extrude
## 1 Trilha 1 <NA> <NA> <NA> <NA> <NA> 1 0
## 2 Trilha 2 <NA> <NA> <NA> <NA> <NA> 1 0
## 3 Trilha 3 <NA> <NA> <NA> <NA> <NA> 1 0
## 4 Trilha 4 <NA> <NA> <NA> <NA> <NA> 1 0
## visibility drawOrder icon geometry
## 1 -1 NA <NA> LINESTRING Z (-35.18349 -8....
## 2 -1 NA <NA> LINESTRING Z (-35.19158 -8....
## 3 -1 NA <NA> LINESTRING Z (-35.18818 -8....
## 4 -1 NA <NA> LINESTRING Z (-35.17173 -8....
trilhas %>%
ggplot() +
geom_sf(aes(color = Name)) +
labs(color = NULL)
parcelas <- sf::st_read("Parcelas.shp")
## Reading layer `Parcelas' from data source
## `G:\Meu Drive\UFPE\projeto mestrado\mestrado\Parcelas.shp'
## using driver `ESRI Shapefile'
## Simple feature collection with 16 features and 11 fields
## Geometry type: LINESTRING
## Dimension: XYZ
## Bounding box: xmin: -35.19158 ymin: -8.737648 xmax: -35.16721 ymax: -8.714365
## z_range: zmin: 0 zmax: 0
## Geodetic CRS: WGS 84
parcelas
## Simple feature collection with 16 features and 11 fields
## Geometry type: LINESTRING
## Dimension: XYZ
## Bounding box: xmin: -35.19158 ymin: -8.737648 xmax: -35.16721 ymax: -8.714365
## z_range: zmin: 0 zmax: 0
## Geodetic CRS: WGS 84
## First 10 features:
## Name descriptio timestamp begin end altitudeMo tessellate
## 1 Transecto 1 - trilha 1 <NA> <NA> <NA> <NA> <NA> 1
## 2 Transecto 2 - trilha 1 <NA> <NA> <NA> <NA> <NA> 1
## 3 Transecto 3 - trilha 1 <NA> <NA> <NA> <NA> <NA> 1
## 4 Transecto 4 - trilha 1 <NA> <NA> <NA> <NA> <NA> 1
## 5 Transecto 1 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## 6 Transecto 2 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## 7 Transecto 3 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## 8 Transecto 4 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## 9 Transecto 5 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## 10 Transecto 6 - trilha 2 <NA> <NA> <NA> <NA> <NA> 1
## extrude visibility drawOrder icon geometry
## 1 0 -1 NA <NA> LINESTRING Z (-35.1734 -8.7...
## 2 0 -1 NA <NA> LINESTRING Z (-35.17659 -8....
## 3 0 -1 NA <NA> LINESTRING Z (-35.18014 -8....
## 4 0 -1 NA <NA> LINESTRING Z (-35.18349 -8....
## 5 0 -1 NA <NA> LINESTRING Z (-35.17363 -8....
## 6 0 -1 NA <NA> LINESTRING Z (-35.17716 -8....
## 7 0 -1 NA <NA> LINESTRING Z (-35.18082 -8....
## 8 0 -1 NA <NA> LINESTRING Z (-35.18437 -8....
## 9 0 -1 NA <NA> LINESTRING Z (-35.18797 -8....
## 10 0 -1 NA <NA> LINESTRING Z (-35.19158 -8....
parcelas %>%
ggplot() +
geom_sf(aes(color = Name)) +
labs(color = NULL)
saltinho_sat <- terra::rast("Saltinho.tif")
saltinho_sat
## class : SpatRaster
## dimensions : 6225, 8442, 4 (nrow, ncol, nlyr)
## resolution : 5.475979e-06, 5.475979e-06 (x, y)
## extent : -35.20319, -35.15696, -8.744113, -8.710025 (xmin, xmax, ymin, ymax)
## coord. ref. : lon/lat SIRGAS 2000 (EPSG:4674)
## source : Saltinho.tif
## names : Saltinho_1, Saltinho_2, Saltinho_3, Saltinho_4
ggplot() +
tidyterra::geom_spatraster_rgb(data = saltinho_sat)
## SpatRaster resampled to ncells = 500992
br <- ggplot()+
geom_sf(data = continentes, color = "black", fill = "gray40") +
geom_sf(data = estados, color = "black", fill = "white") +
geom_sf(data = estados %>% dplyr::filter(name_state == "Pernambuco"), fill = "gray", color = "black") +
geom_rect(aes(xmin = -41.25, xmax = -34.9, ymin = -9.5, ymax = -7.25, color = "Pernambuco"), fill = "red", alpha = 0.4) +
scale_color_manual(values = "red") +
coord_sf(xlim = c(-80, -35), ylim = c(-55, 12)) +
labs(color = NULL,
fill = NULL) +
theme_classic() +
theme(legend.position = "bottom",
axis.text = element_text(color = "black"),
plot.background = element_blank(),
panel.background = element_blank(),
plot.margin = margin(0.5, 0.5, 0.5, 0.5, "cm"))
br
gg_pe <- ggplot() +
geom_sf(data = estados, color = "black", fill = "white") +
geom_sf(data = estados %>% dplyr::filter(name_state == "Pernambuco"), aes(fill = "Pernambuco"), color = "black") +
tidyterra::geom_spatraster_rgb(data = saltinho_sat) +
geom_rect(aes(xmin = -35.20, xmax = -35.16, ymin = -8.7426, ymax = -8.712, color = "REBio Saltinho"), fill = "red", alpha = 0.4) +
coord_sf(xlim = c(-41.25, -34.9), ylim = c(-9.5, -7.25)) +
labs(color = NULL,
fill = NULL) +
scale_color_manual(values = "red") +
scale_fill_manual(values = "gray") +
ggspatial::annotation_scale(location = "br", height = unit(0.3,"cm"), bar_cols = c("black", "white")) +
theme_classic() +
theme(legend.position = "bottom",
axis.text = element_text(color = "black"),
plot.background = element_blank(),
panel.background = element_blank(),
plot.margin = margin(0.5, 0.5, 0.5, 0.5, "cm"))
## SpatRaster resampled to ncells = 500992
gg_pe
trilhas_df <- trilhas %>% sf::st_coordinates() %>%
as.data.frame() %>%
dplyr::mutate(Trilha = L1 %>% as.character(),
Trilha = paste0("Trilha ", Trilha)) %>%
dplyr::select(c(1:2, 5))
parcelas_df <- parcelas %>% sf::st_coordinates() %>%
as.data.frame() %>%
dplyr::mutate(Parcela = L1 %>% as.character())
trilhas_df
## X Y Trilha
## 1 -35.18349 -8.715277 Trilha 1
## 2 -35.18014 -8.718307 Trilha 1
## 3 -35.17658 -8.721506 Trilha 1
## 4 -35.17340 -8.724380 Trilha 1
## 5 -35.19158 -8.716887 Trilha 2
## 6 -35.18798 -8.719664 Trilha 2
## 7 -35.18437 -8.722436 Trilha 2
## 8 -35.18082 -8.725163 Trilha 2
## 9 -35.17716 -8.727953 Trilha 2
## 10 -35.17362 -8.730673 Trilha 2
## 11 -35.18818 -8.725463 Trilha 3
## 12 -35.18454 -8.728118 Trilha 3
## 13 -35.18081 -8.730817 Trilha 3
## 14 -35.17722 -8.733469 Trilha 3
## 15 -35.17173 -8.734406 Trilha 4
## 16 -35.16856 -8.737647 Trilha 4
parcelas_df
## X Y Z L1 Parcela
## 1 -35.17340 -8.724380 0 1 1
## 2 -35.17343 -8.724467 0 1 1
## 3 -35.17350 -8.724516 0 1 1
## 4 -35.17352 -8.724606 0 1 1
## 5 -35.17357 -8.724681 0 1 1
## 6 -35.17354 -8.724766 0 1 1
## 7 -35.17354 -8.724856 0 1 1
## 8 -35.17361 -8.724915 0 1 1
## 9 -35.17370 -8.724891 0 1 1
## 10 -35.17377 -8.724835 0 1 1
## 11 -35.17381 -8.724916 0 1 1
## 12 -35.17382 -8.725007 0 1 1
## 13 -35.17386 -8.725083 0 1 1
## 14 -35.17395 -8.725118 0 1 1
## 15 -35.17397 -8.725202 0 1 1
## 16 -35.17391 -8.725266 0 1 1
## 17 -35.17389 -8.725357 0 1 1
## 18 -35.17388 -8.725443 0 1 1
## 19 -35.17392 -8.725522 0 1 1
## 20 -35.17401 -8.725546 0 1 1
## 21 -35.17409 -8.725500 0 1 1
## 22 -35.17418 -8.725477 0 1 1
## 23 -35.17426 -8.725516 0 1 1
## 24 -35.17430 -8.725593 0 1 1
## 25 -35.17427 -8.725680 0 1 1
## 26 -35.17421 -8.725754 0 1 1
## 27 -35.17659 -8.721500 0 2 2
## 28 -35.17653 -8.721435 0 2 2
## 29 -35.17653 -8.721345 0 2 2
## 30 -35.17652 -8.721255 0 2 2
## 31 -35.17644 -8.721206 0 2 2
## 32 -35.17635 -8.721214 0 2 2
## 33 -35.17627 -8.721172 0 2 2
## 34 -35.17618 -8.721149 0 2 2
## 35 -35.17614 -8.721066 0 2 2
## 36 -35.17609 -8.720993 0 2 2
## 37 -35.17600 -8.720955 0 2 2
## 38 -35.17594 -8.720892 0 2 2
## 39 -35.17590 -8.720814 0 2 2
## 40 -35.17597 -8.720756 0 2 2
## 41 -35.17587 -8.720613 0 2 2
## 42 -35.17579 -8.720561 0 2 2
## 43 -35.17570 -8.720564 0 2 2
## 44 -35.17562 -8.720589 0 2 2
## 45 -35.17553 -8.720555 0 2 2
## 46 -35.17545 -8.720595 0 2 2
## 47 -35.17542 -8.720683 0 2 2
## 48 -35.17540 -8.720770 0 2 2
## 49 -35.17537 -8.720854 0 2 2
## 50 -35.17540 -8.720940 0 2 2
## 51 -35.17547 -8.721003 0 2 2
## 52 -35.18014 -8.718304 0 3 3
## 53 -35.18012 -8.718214 0 3 3
## 54 -35.18014 -8.718126 0 3 3
## 55 -35.18011 -8.718041 0 3 3
## 56 -35.18002 -8.718063 0 3 3
## 57 -35.17998 -8.717980 0 3 3
## 58 -35.17999 -8.717891 0 3 3
## 59 -35.17995 -8.717808 0 3 3
## 60 -35.17987 -8.717833 0 3 3
## 61 -35.17977 -8.717826 0 3 3
## 62 -35.17970 -8.717775 0 3 3
## 63 -35.17969 -8.717683 0 3 3
## 64 -35.17971 -8.717594 0 3 3
## 65 -35.17972 -8.717512 0 3 3
## 66 -35.17972 -8.717413 0 3 3
## 67 -35.17969 -8.717332 0 3 3
## 68 -35.17960 -8.717325 0 3 3
## 69 -35.17957 -8.717235 0 3 3
## 70 -35.17949 -8.717240 0 3 3
## 71 -35.17947 -8.717149 0 3 3
## 72 -35.17941 -8.717213 0 3 3
## 73 -35.17940 -8.717305 0 3 3
## 74 -35.17933 -8.717347 0 3 3
## 75 -35.17924 -8.717350 0 3 3
## 76 -35.17920 -8.717264 0 3 3
## 77 -35.17912 -8.717224 0 3 3
## 78 -35.18349 -8.715276 0 4 4
## 79 -35.18345 -8.715192 0 4 4
## 80 -35.18338 -8.715134 0 4 4
## 81 -35.18337 -8.715047 0 4 4
## 82 -35.18331 -8.714975 0 4 4
## 83 -35.18322 -8.714973 0 4 4
## 84 -35.18317 -8.714896 0 4 4
## 85 -35.18308 -8.714874 0 4 4
## 86 -35.18306 -8.714787 0 4 4
## 87 -35.18302 -8.714707 0 4 4
## 88 -35.18293 -8.714670 0 4 4
## 89 -35.18287 -8.714731 0 4 4
## 90 -35.18278 -8.714727 0 4 4
## 91 -35.18273 -8.714642 0 4 4
## 92 -35.18264 -8.714632 0 4 4
## 93 -35.18262 -8.714722 0 4 4
## 94 -35.18253 -8.714715 0 4 4
## 95 -35.18247 -8.714649 0 4 4
## 96 -35.18239 -8.714601 0 4 4
## 97 -35.18239 -8.714512 0 4 4
## 98 -35.18237 -8.714429 0 4 4
## 99 -35.18228 -8.714402 0 4 4
## 100 -35.18220 -8.714453 0 4 4
## 101 -35.18211 -8.714447 0 4 4
## 102 -35.18208 -8.714365 0 4 4
## 103 -35.18199 -8.714367 0 4 4
## 104 -35.17363 -8.730673 0 5 5
## 105 -35.17367 -8.730754 0 5 5
## 106 -35.17375 -8.730798 0 5 5
## 107 -35.17384 -8.730803 0 5 5
## 108 -35.17389 -8.730873 0 5 5
## 109 -35.17395 -8.730946 0 5 5
## 110 -35.17392 -8.731031 0 5 5
## 111 -35.17391 -8.731121 0 5 5
## 112 -35.17398 -8.731176 0 5 5
## 113 -35.17407 -8.731175 0 5 5
## 114 -35.17416 -8.731141 0 5 5
## 115 -35.17425 -8.731147 0 5 5
## 116 -35.17431 -8.731087 0 5 5
## 117 -35.17440 -8.731111 0 5 5
## 118 -35.17445 -8.731186 0 5 5
## 119 -35.17446 -8.731273 0 5 5
## 120 -35.17443 -8.731359 0 5 5
## 121 -35.17442 -8.731443 0 5 5
## 122 -35.17444 -8.731536 0 5 5
## 123 -35.17443 -8.731628 0 5 5
## 124 -35.17438 -8.731703 0 5 5
## 125 -35.17431 -8.731765 0 5 5
## 126 -35.17433 -8.731853 0 5 5
## 127 -35.17437 -8.731933 0 5 5
## 128 -35.17444 -8.731996 0 5 5
## 129 -35.17448 -8.732073 0 5 5
## 130 -35.17716 -8.727954 0 6 6
## 131 -35.17711 -8.727880 0 6 6
## 132 -35.17710 -8.727789 0 6 6
## 133 -35.17703 -8.727734 0 6 6
## 134 -35.17694 -8.727709 0 6 6
## 135 -35.17688 -8.727640 0 6 6
## 136 -35.17687 -8.727551 0 6 6
## 137 -35.17682 -8.727473 0 6 6
## 138 -35.17674 -8.727436 0 6 6
## 139 -35.17665 -8.727428 0 6 6
## 140 -35.17656 -8.727464 0 6 6
## 141 -35.17648 -8.727462 0 6 6
## 142 -35.17643 -8.727383 0 6 6
## 143 -35.17644 -8.727295 0 6 6
## 144 -35.17647 -8.727204 0 6 6
## 145 -35.17650 -8.727123 0 6 6
## 146 -35.17650 -8.727032 0 6 6
## 147 -35.17648 -8.726943 0 6 6
## 148 -35.17638 -8.726946 0 6 6
## 149 -35.17630 -8.726984 0 6 6
## 150 -35.17622 -8.727018 0 6 6
## 151 -35.17613 -8.727019 0 6 6
## 152 -35.17604 -8.727034 0 6 6
## 153 -35.17598 -8.726958 0 6 6
## 154 -35.17597 -8.726868 0 6 6
## 155 -35.17592 -8.726792 0 6 6
## 156 -35.18082 -8.725163 0 7 7
## 157 -35.18079 -8.725077 0 7 7
## 158 -35.18079 -8.724987 0 7 7
## 159 -35.18077 -8.724901 0 7 7
## 160 -35.18069 -8.724857 0 7 7
## 161 -35.18060 -8.724880 0 7 7
## 162 -35.18053 -8.724818 0 7 7
## 163 -35.18046 -8.724767 0 7 7
## 164 -35.18042 -8.724686 0 7 7
## 165 -35.18040 -8.724597 0 7 7
## 166 -35.18033 -8.724543 0 7 7
## 167 -35.18023 -8.724546 0 7 7
## 168 -35.18017 -8.724481 0 7 7
## 169 -35.18017 -8.724394 0 7 7
## 170 -35.18019 -8.724306 0 7 7
## 171 -35.18020 -8.724221 0 7 7
## 172 -35.18014 -8.724140 0 7 7
## 173 -35.18007 -8.724087 0 7 7
## 174 -35.18005 -8.724001 0 7 7
## 175 -35.17998 -8.723957 0 7 7
## 176 -35.17989 -8.723961 0 7 7
## 177 -35.17981 -8.724015 0 7 7
## 178 -35.17980 -8.724110 0 7 7
## 179 -35.17972 -8.724134 0 7 7
## 180 -35.17964 -8.724085 0 7 7
## 181 -35.17960 -8.724005 0 7 7
## 182 -35.18437 -8.722436 0 8 8
## 183 -35.18439 -8.722349 0 8 8
## 184 -35.18436 -8.722264 0 8 8
## 185 -35.18430 -8.722194 0 8 8
## 186 -35.18421 -8.722190 0 8 8
## 187 -35.18412 -8.722172 0 8 8
## 188 -35.18403 -8.722167 0 8 8
## 189 -35.18395 -8.722126 0 8 8
## 190 -35.18387 -8.722075 0 8 8
## 191 -35.18383 -8.721996 0 8 8
## 192 -35.18388 -8.721916 0 8 8
## 193 -35.18387 -8.721828 0 8 8
## 194 -35.18383 -8.721747 0 8 8
## 195 -35.18384 -8.721657 0 8 8
## 196 -35.18381 -8.721573 0 8 8
## 197 -35.18374 -8.721501 0 8 8
## 198 -35.18366 -8.721500 0 8 8
## 199 -35.18357 -8.721486 0 8 8
## 200 -35.18349 -8.721427 0 8 8
## 201 -35.18341 -8.721441 0 8 8
## 202 -35.18334 -8.721372 0 8 8
## 203 -35.18330 -8.721298 0 8 8
## 204 -35.18328 -8.721209 0 8 8
## 205 -35.18325 -8.721119 0 8 8
## 206 -35.18317 -8.721083 0 8 8
## 207 -35.18312 -8.721011 0 8 8
## 208 -35.18797 -8.719664 0 9 9
## 209 -35.18788 -8.719667 0 9 9
## 210 -35.18785 -8.719582 0 9 9
## 211 -35.18785 -8.719492 0 9 9
## 212 -35.18787 -8.719403 0 9 9
## 213 -35.18787 -8.719313 0 9 9
## 214 -35.18788 -8.719222 0 9 9
## 215 -35.18780 -8.719176 0 9 9
## 216 -35.18777 -8.719090 0 9 9
## 217 -35.18769 -8.719060 0 9 9
## 218 -35.18763 -8.718986 0 9 9
## 219 -35.18763 -8.718899 0 9 9
## 220 -35.18764 -8.718807 0 9 9
## 221 -35.18764 -8.718716 0 9 9
## 222 -35.18770 -8.718652 0 9 9
## 223 -35.18771 -8.718557 0 9 9
## 224 -35.18770 -8.718473 0 9 9
## 225 -35.18771 -8.718377 0 9 9
## 226 -35.18768 -8.718290 0 9 9
## 227 -35.18761 -8.718239 0 9 9
## 228 -35.18752 -8.718252 0 9 9
## 229 -35.18743 -8.718236 0 9 9
## 230 -35.18736 -8.718184 0 9 9
## 231 -35.18726 -8.718190 0 9 9
## 232 -35.18718 -8.718158 0 9 9
## 233 -35.18716 -8.718073 0 9 9
## 234 -35.19158 -8.716890 0 10 10
## 235 -35.19156 -8.716801 0 10 10
## 236 -35.19153 -8.716714 0 10 10
## 237 -35.19151 -8.716626 0 10 10
## 238 -35.19153 -8.716536 0 10 10
## 239 -35.19148 -8.716456 0 10 10
## 240 -35.19141 -8.716400 0 10 10
## 241 -35.19132 -8.716407 0 10 10
## 242 -35.19123 -8.716392 0 10 10
## 243 -35.19114 -8.716384 0 10 10
## 244 -35.19105 -8.716409 0 10 10
## 245 -35.19096 -8.716393 0 10 10
## 246 -35.19088 -8.716426 0 10 10
## 247 -35.19080 -8.716469 0 10 10
## 248 -35.19072 -8.716494 0 10 10
## 249 -35.19062 -8.716494 0 10 10
## 250 -35.19054 -8.716468 0 10 10
## 251 -35.19045 -8.716475 0 10 10
## 252 -35.19036 -8.716452 0 10 10
## 253 -35.19027 -8.716444 0 10 10
## 254 -35.19019 -8.716398 0 10 10
## 255 -35.19014 -8.716317 0 10 10
## 256 -35.19007 -8.716272 0 10 10
## 257 -35.18998 -8.716264 0 10 10
## 258 -35.18991 -8.716202 0 10 10
## 259 -35.18989 -8.716115 0 10 10
## 260 -35.17722 -8.733468 0 11 11
## 261 -35.17715 -8.733415 0 11 11
## 262 -35.17710 -8.733336 0 11 11
## 263 -35.17705 -8.733262 0 11 11
## 264 -35.17705 -8.733171 0 11 11
## 265 -35.17709 -8.733087 0 11 11
## 266 -35.17709 -8.732997 0 11 11
## 267 -35.17708 -8.732907 0 11 11
## 268 -35.17699 -8.732875 0 11 11
## 269 -35.17690 -8.732867 0 11 11
## 270 -35.17681 -8.732879 0 11 11
## 271 -35.17673 -8.732863 0 11 11
## 272 -35.17667 -8.732790 0 11 11
## 273 -35.17662 -8.732614 0 11 11
## 274 -35.17660 -8.732533 0 11 11
## 275 -35.17664 -8.732445 0 11 11
## 276 -35.17667 -8.732358 0 11 11
## 277 -35.17668 -8.732268 0 11 11
## 278 -35.17667 -8.732179 0 11 11
## 279 -35.17661 -8.732113 0 11 11
## 280 -35.17652 -8.732102 0 11 11
## 281 -35.17645 -8.732051 0 11 11
## 282 -35.17640 -8.731968 0 11 11
## 283 -35.17638 -8.731885 0 11 11
## 284 -35.17632 -8.731820 0 11 11
## 285 -35.18081 -8.730817 0 12 12
## 286 -35.18076 -8.730742 0 12 12
## 287 -35.18067 -8.730730 0 12 12
## 288 -35.18058 -8.730721 0 12 12
## 289 -35.18049 -8.730709 0 12 12
## 290 -35.18040 -8.730713 0 12 12
## 291 -35.18031 -8.730734 0 12 12
## 292 -35.18022 -8.730732 0 12 12
## 293 -35.18013 -8.730733 0 12 12
## 294 -35.18004 -8.730723 0 12 12
## 295 -35.17995 -8.730716 0 12 12
## 296 -35.17986 -8.730715 0 12 12
## 297 -35.17977 -8.730710 0 12 12
## 298 -35.17968 -8.730699 0 12 12
## 299 -35.17959 -8.730683 0 12 12
## 300 -35.17950 -8.730680 0 12 12
## 301 -35.17941 -8.730675 0 12 12
## 302 -35.17931 -8.730669 0 12 12
## 303 -35.17924 -8.730620 0 12 12
## 304 -35.17919 -8.730544 0 12 12
## 305 -35.17913 -8.730488 0 12 12
## 306 -35.17914 -8.730394 0 12 12
## 307 -35.17914 -8.730310 0 12 12
## 308 -35.17909 -8.730234 0 12 12
## 309 -35.17901 -8.730186 0 12 12
## 310 -35.17896 -8.730114 0 12 12
## 311 -35.18454 -8.728118 0 13 13
## 312 -35.18458 -8.728035 0 13 13
## 313 -35.18459 -8.727947 0 13 13
## 314 -35.18462 -8.727860 0 13 13
## 315 -35.18464 -8.727771 0 13 13
## 316 -35.18468 -8.727690 0 13 13
## 317 -35.18470 -8.727601 0 13 13
## 318 -35.18468 -8.727512 0 13 13
## 319 -35.18462 -8.727444 0 13 13
## 320 -35.18461 -8.727355 0 13 13
## 321 -35.18460 -8.727265 0 13 13
## 322 -35.18451 -8.727230 0 13 13
## 323 -35.18443 -8.727237 0 13 13
## 324 -35.18434 -8.727272 0 13 13
## 325 -35.18426 -8.727310 0 13 13
## 326 -35.18418 -8.727360 0 13 13
## 327 -35.18414 -8.727444 0 13 13
## 328 -35.18408 -8.727507 0 13 13
## 329 -35.18402 -8.727569 0 13 13
## 330 -35.18394 -8.727610 0 13 13
## 331 -35.18390 -8.727693 0 13 13
## 332 -35.18384 -8.727762 0 13 13
## 333 -35.18374 -8.727763 0 13 13
## 334 -35.18365 -8.727769 0 13 13
## 335 -35.18359 -8.727835 0 13 13
## 336 -35.18359 -8.727928 0 13 13
## 337 -35.18818 -8.725463 0 14 14
## 338 -35.18815 -8.725378 0 14 14
## 339 -35.18809 -8.725304 0 14 14
## 340 -35.18801 -8.725261 0 14 14
## 341 -35.18793 -8.725228 0 14 14
## 342 -35.18790 -8.725141 0 14 14
## 343 -35.18792 -8.725053 0 14 14
## 344 -35.18792 -8.724963 0 14 14
## 345 -35.18790 -8.724875 0 14 14
## 346 -35.18783 -8.724818 0 14 14
## 347 -35.18774 -8.724835 0 14 14
## 348 -35.18766 -8.724876 0 14 14
## 349 -35.18757 -8.724871 0 14 14
## 350 -35.18752 -8.724788 0 14 14
## 351 -35.18744 -8.724764 0 14 14
## 352 -35.18735 -8.724780 0 14 14
## 353 -35.18728 -8.724829 0 14 14
## 354 -35.18719 -8.724842 0 14 14
## 355 -35.18710 -8.724815 0 14 14
## 356 -35.18702 -8.724776 0 14 14
## 357 -35.18696 -8.724700 0 14 14
## 358 -35.18697 -8.724616 0 14 14
## 359 -35.18694 -8.724519 0 14 14
## 360 -35.18686 -8.724485 0 14 14
## 361 -35.18678 -8.724496 0 14 14
## 362 -35.18669 -8.724507 0 14 14
## 363 -35.16857 -8.737648 0 15 15
## 364 -35.16848 -8.737631 0 15 15
## 365 -35.16839 -8.737631 0 15 15
## 366 -35.16830 -8.737616 0 15 15
## 367 -35.16821 -8.737593 0 15 15
## 368 -35.16814 -8.737536 0 15 15
## 369 -35.16806 -8.737497 0 15 15
## 370 -35.16800 -8.737425 0 15 15
## 371 -35.16794 -8.737355 0 15 15
## 372 -35.16788 -8.737292 0 15 15
## 373 -35.16779 -8.737257 0 15 15
## 374 -35.16773 -8.737201 0 15 15
## 375 -35.16765 -8.737150 0 15 15
## 376 -35.16757 -8.737107 0 15 15
## 377 -35.16750 -8.737051 0 15 15
## 378 -35.16748 -8.736962 0 15 15
## 379 -35.16743 -8.736892 0 15 15
## 380 -35.16742 -8.736803 0 15 15
## 381 -35.16740 -8.736715 0 15 15
## 382 -35.16735 -8.736638 0 15 15
## 383 -35.16732 -8.736547 0 15 15
## 384 -35.16728 -8.736471 0 15 15
## 385 -35.16725 -8.736385 0 15 15
## 386 -35.16725 -8.736290 0 15 15
## 387 -35.16723 -8.736200 0 15 15
## 388 -35.16721 -8.736115 0 15 15
## 389 -35.17173 -8.734402 0 16 16
## 390 -35.17171 -8.734313 0 16 16
## 391 -35.17170 -8.734224 0 16 16
## 392 -35.17169 -8.734134 0 16 16
## 393 -35.17168 -8.734044 0 16 16
## 394 -35.17166 -8.733956 0 16 16
## 395 -35.17164 -8.733868 0 16 16
## 396 -35.17161 -8.733784 0 16 16
## 397 -35.17157 -8.733702 0 16 16
## 398 -35.17149 -8.733654 0 16 16
## 399 -35.17140 -8.733659 0 16 16
## 400 -35.17131 -8.733630 0 16 16
## 401 -35.17123 -8.733590 0 16 16
## 402 -35.17114 -8.733559 0 16 16
## 403 -35.17106 -8.733534 0 16 16
## 404 -35.17097 -8.733509 0 16 16
## 405 -35.17088 -8.733491 0 16 16
## 406 -35.17079 -8.733485 0 16 16
## 407 -35.17070 -8.733477 0 16 16
## 408 -35.17061 -8.733457 0 16 16
## 409 -35.17054 -8.733407 0 16 16
## 410 -35.17045 -8.733396 0 16 16
## 411 -35.17036 -8.733420 0 16 16
## 412 -35.17028 -8.733376 0 16 16
## 413 -35.17020 -8.733338 0 16 16
## 414 -35.17012 -8.733306 0 16 16
salt <- ggplot() +
geom_spatraster_rgb(data = saltinho_sat) +
geom_sf(data = saltinho, aes(color = "REBio Saltinho"), fill = NA, linewidth = 1.5) +
coord_sf(xlim = c(-35.20, -35.16), ylim = c(-8.7426, -8.712)) +
scale_color_manual(values = "red") +
labs(color = NULL) +
ggnewscale::new_scale_colour() +
geom_line(data = trilhas_df, aes(X, Y, color = Trilha), linewidth = 1.25, show.legend = FALSE) +
scale_color_manual(values = rep("yellow", 4)) +
labs(color = NULL,
x = NULL,
y = NULL) +
ggnewscale::new_scale_colour() +
geom_line(data = parcelas_df, aes(X, Y, color = Parcela), show.legend = FALSE) +
scale_color_manual(values = rep("yellow", 16)) +
labs(color = NULL,
x = NULL,
y = NULL) +
guides(color = guide_legend(order = 2)) +
ggspatial::annotation_scale(location = "br", height = unit(0.3,"cm"), bar_cols = c("black", "white")) +
theme_classic() +
theme(legend.position = "bottom",
axis.text = element_text(color = "black"),
plot.background = element_blank(),
panel.background = element_blank(),
plot.margin = margin(0.5, 0.5, 0.5, 0.5, "cm"))
## SpatRaster resampled to ncells = 500992
salt
mapa_1 <- gg_pe + salt + patchwork::plot_layout(nrow = 2)
mapa_1
df <- data.frame(x = 1, y = 1)
gg <- df %>%
ggplot(aes(x, y)) +
theme(panel.background = element_rect(color = "white", fill = "white"),
plot.background = element_rect(color = "white", fill = "white"),
axis.title = element_text(color = "white"),
axis.text = element_text(color = "white"))
gg
ggsave(filename = "vazio.png")
## Saving 10 x 8 in image
gg +
draw_plot(mapa_1, width = 0.5, height = 1, x = 0, y = 0) +
draw_plot(br, width = 0.425, height = 0.925, x = 0.48, y = 0.05)
ggsave(filename = "saltinho_mapa_trilhas.png", height = 12, widt = 14)
trilhas_xlsx <- trilhas %>%
sf::st_coordinates() %>%
as.data.frame() %>%
dplyr::mutate(Longitude = X,
Latitude = Y,
Trilha = L1 %>% as.character(),
Ponto = c(seq(1:4) %>% sort(decreasing = TRUE),
seq(1:6) %>% sort(decreasing = TRUE),
seq(1:4) %>% sort(decreasing = TRUE),
seq(1:2) %>% sort(decreasing = TRUE))) %>%
dplyr::select(5:8) %>%
dplyr::arrange(Trilha, Ponto)
trilhas_xlsx
## Longitude Latitude Trilha Ponto
## 1 -35.17340 -8.724380 1 1
## 2 -35.17658 -8.721506 1 2
## 3 -35.18014 -8.718307 1 3
## 4 -35.18349 -8.715277 1 4
## 5 -35.17362 -8.730673 2 1
## 6 -35.17716 -8.727953 2 2
## 7 -35.18082 -8.725163 2 3
## 8 -35.18437 -8.722436 2 4
## 9 -35.18798 -8.719664 2 5
## 10 -35.19158 -8.716887 2 6
## 11 -35.17722 -8.733469 3 1
## 12 -35.18081 -8.730817 3 2
## 13 -35.18454 -8.728118 3 3
## 14 -35.18818 -8.725463 3 4
## 15 -35.16856 -8.737647 4 1
## 16 -35.17173 -8.734406 4 2
trilhas_xlsx %>% openxlsx::write.xlsx("trilhas.xlsx")
parcelas_xlsx <- parcelas %>%
sf::st_coordinates() %>%
as.data.frame() %>%
dplyr::mutate(Longitude = X,
Latitude = Y,
Parcela = L1 %>% as.character(),
Trilha = c(rep("1", 103),
rep("2", 156),
rep("3", 103),
rep("4", 52))) %>%
dplyr::select(5:8)
parcelas_xlsx
## Longitude Latitude Parcela Trilha
## 1 -35.17340 -8.724380 1 1
## 2 -35.17343 -8.724467 1 1
## 3 -35.17350 -8.724516 1 1
## 4 -35.17352 -8.724606 1 1
## 5 -35.17357 -8.724681 1 1
## 6 -35.17354 -8.724766 1 1
## 7 -35.17354 -8.724856 1 1
## 8 -35.17361 -8.724915 1 1
## 9 -35.17370 -8.724891 1 1
## 10 -35.17377 -8.724835 1 1
## 11 -35.17381 -8.724916 1 1
## 12 -35.17382 -8.725007 1 1
## 13 -35.17386 -8.725083 1 1
## 14 -35.17395 -8.725118 1 1
## 15 -35.17397 -8.725202 1 1
## 16 -35.17391 -8.725266 1 1
## 17 -35.17389 -8.725357 1 1
## 18 -35.17388 -8.725443 1 1
## 19 -35.17392 -8.725522 1 1
## 20 -35.17401 -8.725546 1 1
## 21 -35.17409 -8.725500 1 1
## 22 -35.17418 -8.725477 1 1
## 23 -35.17426 -8.725516 1 1
## 24 -35.17430 -8.725593 1 1
## 25 -35.17427 -8.725680 1 1
## 26 -35.17421 -8.725754 1 1
## 27 -35.17659 -8.721500 2 1
## 28 -35.17653 -8.721435 2 1
## 29 -35.17653 -8.721345 2 1
## 30 -35.17652 -8.721255 2 1
## 31 -35.17644 -8.721206 2 1
## 32 -35.17635 -8.721214 2 1
## 33 -35.17627 -8.721172 2 1
## 34 -35.17618 -8.721149 2 1
## 35 -35.17614 -8.721066 2 1
## 36 -35.17609 -8.720993 2 1
## 37 -35.17600 -8.720955 2 1
## 38 -35.17594 -8.720892 2 1
## 39 -35.17590 -8.720814 2 1
## 40 -35.17597 -8.720756 2 1
## 41 -35.17587 -8.720613 2 1
## 42 -35.17579 -8.720561 2 1
## 43 -35.17570 -8.720564 2 1
## 44 -35.17562 -8.720589 2 1
## 45 -35.17553 -8.720555 2 1
## 46 -35.17545 -8.720595 2 1
## 47 -35.17542 -8.720683 2 1
## 48 -35.17540 -8.720770 2 1
## 49 -35.17537 -8.720854 2 1
## 50 -35.17540 -8.720940 2 1
## 51 -35.17547 -8.721003 2 1
## 52 -35.18014 -8.718304 3 1
## 53 -35.18012 -8.718214 3 1
## 54 -35.18014 -8.718126 3 1
## 55 -35.18011 -8.718041 3 1
## 56 -35.18002 -8.718063 3 1
## 57 -35.17998 -8.717980 3 1
## 58 -35.17999 -8.717891 3 1
## 59 -35.17995 -8.717808 3 1
## 60 -35.17987 -8.717833 3 1
## 61 -35.17977 -8.717826 3 1
## 62 -35.17970 -8.717775 3 1
## 63 -35.17969 -8.717683 3 1
## 64 -35.17971 -8.717594 3 1
## 65 -35.17972 -8.717512 3 1
## 66 -35.17972 -8.717413 3 1
## 67 -35.17969 -8.717332 3 1
## 68 -35.17960 -8.717325 3 1
## 69 -35.17957 -8.717235 3 1
## 70 -35.17949 -8.717240 3 1
## 71 -35.17947 -8.717149 3 1
## 72 -35.17941 -8.717213 3 1
## 73 -35.17940 -8.717305 3 1
## 74 -35.17933 -8.717347 3 1
## 75 -35.17924 -8.717350 3 1
## 76 -35.17920 -8.717264 3 1
## 77 -35.17912 -8.717224 3 1
## 78 -35.18349 -8.715276 4 1
## 79 -35.18345 -8.715192 4 1
## 80 -35.18338 -8.715134 4 1
## 81 -35.18337 -8.715047 4 1
## 82 -35.18331 -8.714975 4 1
## 83 -35.18322 -8.714973 4 1
## 84 -35.18317 -8.714896 4 1
## 85 -35.18308 -8.714874 4 1
## 86 -35.18306 -8.714787 4 1
## 87 -35.18302 -8.714707 4 1
## 88 -35.18293 -8.714670 4 1
## 89 -35.18287 -8.714731 4 1
## 90 -35.18278 -8.714727 4 1
## 91 -35.18273 -8.714642 4 1
## 92 -35.18264 -8.714632 4 1
## 93 -35.18262 -8.714722 4 1
## 94 -35.18253 -8.714715 4 1
## 95 -35.18247 -8.714649 4 1
## 96 -35.18239 -8.714601 4 1
## 97 -35.18239 -8.714512 4 1
## 98 -35.18237 -8.714429 4 1
## 99 -35.18228 -8.714402 4 1
## 100 -35.18220 -8.714453 4 1
## 101 -35.18211 -8.714447 4 1
## 102 -35.18208 -8.714365 4 1
## 103 -35.18199 -8.714367 4 1
## 104 -35.17363 -8.730673 5 2
## 105 -35.17367 -8.730754 5 2
## 106 -35.17375 -8.730798 5 2
## 107 -35.17384 -8.730803 5 2
## 108 -35.17389 -8.730873 5 2
## 109 -35.17395 -8.730946 5 2
## 110 -35.17392 -8.731031 5 2
## 111 -35.17391 -8.731121 5 2
## 112 -35.17398 -8.731176 5 2
## 113 -35.17407 -8.731175 5 2
## 114 -35.17416 -8.731141 5 2
## 115 -35.17425 -8.731147 5 2
## 116 -35.17431 -8.731087 5 2
## 117 -35.17440 -8.731111 5 2
## 118 -35.17445 -8.731186 5 2
## 119 -35.17446 -8.731273 5 2
## 120 -35.17443 -8.731359 5 2
## 121 -35.17442 -8.731443 5 2
## 122 -35.17444 -8.731536 5 2
## 123 -35.17443 -8.731628 5 2
## 124 -35.17438 -8.731703 5 2
## 125 -35.17431 -8.731765 5 2
## 126 -35.17433 -8.731853 5 2
## 127 -35.17437 -8.731933 5 2
## 128 -35.17444 -8.731996 5 2
## 129 -35.17448 -8.732073 5 2
## 130 -35.17716 -8.727954 6 2
## 131 -35.17711 -8.727880 6 2
## 132 -35.17710 -8.727789 6 2
## 133 -35.17703 -8.727734 6 2
## 134 -35.17694 -8.727709 6 2
## 135 -35.17688 -8.727640 6 2
## 136 -35.17687 -8.727551 6 2
## 137 -35.17682 -8.727473 6 2
## 138 -35.17674 -8.727436 6 2
## 139 -35.17665 -8.727428 6 2
## 140 -35.17656 -8.727464 6 2
## 141 -35.17648 -8.727462 6 2
## 142 -35.17643 -8.727383 6 2
## 143 -35.17644 -8.727295 6 2
## 144 -35.17647 -8.727204 6 2
## 145 -35.17650 -8.727123 6 2
## 146 -35.17650 -8.727032 6 2
## 147 -35.17648 -8.726943 6 2
## 148 -35.17638 -8.726946 6 2
## 149 -35.17630 -8.726984 6 2
## 150 -35.17622 -8.727018 6 2
## 151 -35.17613 -8.727019 6 2
## 152 -35.17604 -8.727034 6 2
## 153 -35.17598 -8.726958 6 2
## 154 -35.17597 -8.726868 6 2
## 155 -35.17592 -8.726792 6 2
## 156 -35.18082 -8.725163 7 2
## 157 -35.18079 -8.725077 7 2
## 158 -35.18079 -8.724987 7 2
## 159 -35.18077 -8.724901 7 2
## 160 -35.18069 -8.724857 7 2
## 161 -35.18060 -8.724880 7 2
## 162 -35.18053 -8.724818 7 2
## 163 -35.18046 -8.724767 7 2
## 164 -35.18042 -8.724686 7 2
## 165 -35.18040 -8.724597 7 2
## 166 -35.18033 -8.724543 7 2
## 167 -35.18023 -8.724546 7 2
## 168 -35.18017 -8.724481 7 2
## 169 -35.18017 -8.724394 7 2
## 170 -35.18019 -8.724306 7 2
## 171 -35.18020 -8.724221 7 2
## 172 -35.18014 -8.724140 7 2
## 173 -35.18007 -8.724087 7 2
## 174 -35.18005 -8.724001 7 2
## 175 -35.17998 -8.723957 7 2
## 176 -35.17989 -8.723961 7 2
## 177 -35.17981 -8.724015 7 2
## 178 -35.17980 -8.724110 7 2
## 179 -35.17972 -8.724134 7 2
## 180 -35.17964 -8.724085 7 2
## 181 -35.17960 -8.724005 7 2
## 182 -35.18437 -8.722436 8 2
## 183 -35.18439 -8.722349 8 2
## 184 -35.18436 -8.722264 8 2
## 185 -35.18430 -8.722194 8 2
## 186 -35.18421 -8.722190 8 2
## 187 -35.18412 -8.722172 8 2
## 188 -35.18403 -8.722167 8 2
## 189 -35.18395 -8.722126 8 2
## 190 -35.18387 -8.722075 8 2
## 191 -35.18383 -8.721996 8 2
## 192 -35.18388 -8.721916 8 2
## 193 -35.18387 -8.721828 8 2
## 194 -35.18383 -8.721747 8 2
## 195 -35.18384 -8.721657 8 2
## 196 -35.18381 -8.721573 8 2
## 197 -35.18374 -8.721501 8 2
## 198 -35.18366 -8.721500 8 2
## 199 -35.18357 -8.721486 8 2
## 200 -35.18349 -8.721427 8 2
## 201 -35.18341 -8.721441 8 2
## 202 -35.18334 -8.721372 8 2
## 203 -35.18330 -8.721298 8 2
## 204 -35.18328 -8.721209 8 2
## 205 -35.18325 -8.721119 8 2
## 206 -35.18317 -8.721083 8 2
## 207 -35.18312 -8.721011 8 2
## 208 -35.18797 -8.719664 9 2
## 209 -35.18788 -8.719667 9 2
## 210 -35.18785 -8.719582 9 2
## 211 -35.18785 -8.719492 9 2
## 212 -35.18787 -8.719403 9 2
## 213 -35.18787 -8.719313 9 2
## 214 -35.18788 -8.719222 9 2
## 215 -35.18780 -8.719176 9 2
## 216 -35.18777 -8.719090 9 2
## 217 -35.18769 -8.719060 9 2
## 218 -35.18763 -8.718986 9 2
## 219 -35.18763 -8.718899 9 2
## 220 -35.18764 -8.718807 9 2
## 221 -35.18764 -8.718716 9 2
## 222 -35.18770 -8.718652 9 2
## 223 -35.18771 -8.718557 9 2
## 224 -35.18770 -8.718473 9 2
## 225 -35.18771 -8.718377 9 2
## 226 -35.18768 -8.718290 9 2
## 227 -35.18761 -8.718239 9 2
## 228 -35.18752 -8.718252 9 2
## 229 -35.18743 -8.718236 9 2
## 230 -35.18736 -8.718184 9 2
## 231 -35.18726 -8.718190 9 2
## 232 -35.18718 -8.718158 9 2
## 233 -35.18716 -8.718073 9 2
## 234 -35.19158 -8.716890 10 2
## 235 -35.19156 -8.716801 10 2
## 236 -35.19153 -8.716714 10 2
## 237 -35.19151 -8.716626 10 2
## 238 -35.19153 -8.716536 10 2
## 239 -35.19148 -8.716456 10 2
## 240 -35.19141 -8.716400 10 2
## 241 -35.19132 -8.716407 10 2
## 242 -35.19123 -8.716392 10 2
## 243 -35.19114 -8.716384 10 2
## 244 -35.19105 -8.716409 10 2
## 245 -35.19096 -8.716393 10 2
## 246 -35.19088 -8.716426 10 2
## 247 -35.19080 -8.716469 10 2
## 248 -35.19072 -8.716494 10 2
## 249 -35.19062 -8.716494 10 2
## 250 -35.19054 -8.716468 10 2
## 251 -35.19045 -8.716475 10 2
## 252 -35.19036 -8.716452 10 2
## 253 -35.19027 -8.716444 10 2
## 254 -35.19019 -8.716398 10 2
## 255 -35.19014 -8.716317 10 2
## 256 -35.19007 -8.716272 10 2
## 257 -35.18998 -8.716264 10 2
## 258 -35.18991 -8.716202 10 2
## 259 -35.18989 -8.716115 10 2
## 260 -35.17722 -8.733468 11 3
## 261 -35.17715 -8.733415 11 3
## 262 -35.17710 -8.733336 11 3
## 263 -35.17705 -8.733262 11 3
## 264 -35.17705 -8.733171 11 3
## 265 -35.17709 -8.733087 11 3
## 266 -35.17709 -8.732997 11 3
## 267 -35.17708 -8.732907 11 3
## 268 -35.17699 -8.732875 11 3
## 269 -35.17690 -8.732867 11 3
## 270 -35.17681 -8.732879 11 3
## 271 -35.17673 -8.732863 11 3
## 272 -35.17667 -8.732790 11 3
## 273 -35.17662 -8.732614 11 3
## 274 -35.17660 -8.732533 11 3
## 275 -35.17664 -8.732445 11 3
## 276 -35.17667 -8.732358 11 3
## 277 -35.17668 -8.732268 11 3
## 278 -35.17667 -8.732179 11 3
## 279 -35.17661 -8.732113 11 3
## 280 -35.17652 -8.732102 11 3
## 281 -35.17645 -8.732051 11 3
## 282 -35.17640 -8.731968 11 3
## 283 -35.17638 -8.731885 11 3
## 284 -35.17632 -8.731820 11 3
## 285 -35.18081 -8.730817 12 3
## 286 -35.18076 -8.730742 12 3
## 287 -35.18067 -8.730730 12 3
## 288 -35.18058 -8.730721 12 3
## 289 -35.18049 -8.730709 12 3
## 290 -35.18040 -8.730713 12 3
## 291 -35.18031 -8.730734 12 3
## 292 -35.18022 -8.730732 12 3
## 293 -35.18013 -8.730733 12 3
## 294 -35.18004 -8.730723 12 3
## 295 -35.17995 -8.730716 12 3
## 296 -35.17986 -8.730715 12 3
## 297 -35.17977 -8.730710 12 3
## 298 -35.17968 -8.730699 12 3
## 299 -35.17959 -8.730683 12 3
## 300 -35.17950 -8.730680 12 3
## 301 -35.17941 -8.730675 12 3
## 302 -35.17931 -8.730669 12 3
## 303 -35.17924 -8.730620 12 3
## 304 -35.17919 -8.730544 12 3
## 305 -35.17913 -8.730488 12 3
## 306 -35.17914 -8.730394 12 3
## 307 -35.17914 -8.730310 12 3
## 308 -35.17909 -8.730234 12 3
## 309 -35.17901 -8.730186 12 3
## 310 -35.17896 -8.730114 12 3
## 311 -35.18454 -8.728118 13 3
## 312 -35.18458 -8.728035 13 3
## 313 -35.18459 -8.727947 13 3
## 314 -35.18462 -8.727860 13 3
## 315 -35.18464 -8.727771 13 3
## 316 -35.18468 -8.727690 13 3
## 317 -35.18470 -8.727601 13 3
## 318 -35.18468 -8.727512 13 3
## 319 -35.18462 -8.727444 13 3
## 320 -35.18461 -8.727355 13 3
## 321 -35.18460 -8.727265 13 3
## 322 -35.18451 -8.727230 13 3
## 323 -35.18443 -8.727237 13 3
## 324 -35.18434 -8.727272 13 3
## 325 -35.18426 -8.727310 13 3
## 326 -35.18418 -8.727360 13 3
## 327 -35.18414 -8.727444 13 3
## 328 -35.18408 -8.727507 13 3
## 329 -35.18402 -8.727569 13 3
## 330 -35.18394 -8.727610 13 3
## 331 -35.18390 -8.727693 13 3
## 332 -35.18384 -8.727762 13 3
## 333 -35.18374 -8.727763 13 3
## 334 -35.18365 -8.727769 13 3
## 335 -35.18359 -8.727835 13 3
## 336 -35.18359 -8.727928 13 3
## 337 -35.18818 -8.725463 14 3
## 338 -35.18815 -8.725378 14 3
## 339 -35.18809 -8.725304 14 3
## 340 -35.18801 -8.725261 14 3
## 341 -35.18793 -8.725228 14 3
## 342 -35.18790 -8.725141 14 3
## 343 -35.18792 -8.725053 14 3
## 344 -35.18792 -8.724963 14 3
## 345 -35.18790 -8.724875 14 3
## 346 -35.18783 -8.724818 14 3
## 347 -35.18774 -8.724835 14 3
## 348 -35.18766 -8.724876 14 3
## 349 -35.18757 -8.724871 14 3
## 350 -35.18752 -8.724788 14 3
## 351 -35.18744 -8.724764 14 3
## 352 -35.18735 -8.724780 14 3
## 353 -35.18728 -8.724829 14 3
## 354 -35.18719 -8.724842 14 3
## 355 -35.18710 -8.724815 14 3
## 356 -35.18702 -8.724776 14 3
## 357 -35.18696 -8.724700 14 3
## 358 -35.18697 -8.724616 14 3
## 359 -35.18694 -8.724519 14 3
## 360 -35.18686 -8.724485 14 3
## 361 -35.18678 -8.724496 14 3
## 362 -35.18669 -8.724507 14 3
## 363 -35.16857 -8.737648 15 4
## 364 -35.16848 -8.737631 15 4
## 365 -35.16839 -8.737631 15 4
## 366 -35.16830 -8.737616 15 4
## 367 -35.16821 -8.737593 15 4
## 368 -35.16814 -8.737536 15 4
## 369 -35.16806 -8.737497 15 4
## 370 -35.16800 -8.737425 15 4
## 371 -35.16794 -8.737355 15 4
## 372 -35.16788 -8.737292 15 4
## 373 -35.16779 -8.737257 15 4
## 374 -35.16773 -8.737201 15 4
## 375 -35.16765 -8.737150 15 4
## 376 -35.16757 -8.737107 15 4
## 377 -35.16750 -8.737051 15 4
## 378 -35.16748 -8.736962 15 4
## 379 -35.16743 -8.736892 15 4
## 380 -35.16742 -8.736803 15 4
## 381 -35.16740 -8.736715 15 4
## 382 -35.16735 -8.736638 15 4
## 383 -35.16732 -8.736547 15 4
## 384 -35.16728 -8.736471 15 4
## 385 -35.16725 -8.736385 15 4
## 386 -35.16725 -8.736290 15 4
## 387 -35.16723 -8.736200 15 4
## 388 -35.16721 -8.736115 15 4
## 389 -35.17173 -8.734402 16 4
## 390 -35.17171 -8.734313 16 4
## 391 -35.17170 -8.734224 16 4
## 392 -35.17169 -8.734134 16 4
## 393 -35.17168 -8.734044 16 4
## 394 -35.17166 -8.733956 16 4
## 395 -35.17164 -8.733868 16 4
## 396 -35.17161 -8.733784 16 4
## 397 -35.17157 -8.733702 16 4
## 398 -35.17149 -8.733654 16 4
## 399 -35.17140 -8.733659 16 4
## 400 -35.17131 -8.733630 16 4
## 401 -35.17123 -8.733590 16 4
## 402 -35.17114 -8.733559 16 4
## 403 -35.17106 -8.733534 16 4
## 404 -35.17097 -8.733509 16 4
## 405 -35.17088 -8.733491 16 4
## 406 -35.17079 -8.733485 16 4
## 407 -35.17070 -8.733477 16 4
## 408 -35.17061 -8.733457 16 4
## 409 -35.17054 -8.733407 16 4
## 410 -35.17045 -8.733396 16 4
## 411 -35.17036 -8.733420 16 4
## 412 -35.17028 -8.733376 16 4
## 413 -35.17020 -8.733338 16 4
## 414 -35.17012 -8.733306 16 4
parcelas_xlsx %>% openxlsx::write.xlsx("parcelas.xlsx")